package org.esprit.ocm.client.rpc.ec2;

import java.util.List;

import org.esprit.ocm.dto.ec2.impl.AvailabilityZoneMappingDto;
import org.esprit.ocm.dto.impl.AwsCredentialsDto;
import org.esprit.ocm.dto.impl.ServerDto;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("ZoneService.rpc")
public interface ZoneService extends RemoteService {

	/**
	 * Lists available Availability zones.
	 * 
	 * @return Array of Availability zones.
	 */
	public List<AvailabilityZoneMappingDto> listAvailabilityZones(ServerDto server, AwsCredentialsDto credentials);
}
